package com.gx.service.api;

import com.gx.domain.SysUser;

import java.util.List;

public interface SysUserService {

    SysUser queryByUserName(String username);

    SysUser queryObject(String userId);

    void save(SysUser user);

    void updateByUserId(SysUser user);

    SysUser updateBySelective(SysUser sysUser);

    void deleteBatch(List<String> userIds);

    int batchDelete(List<Long> ids);

    List<SysUser> queryAll();

    public void setMenuAndRoles(String username);

    List<String> queryAllPermissions(String userId);

    public void updateCurrentUserCache(String sysUserId);

    int updatePassword(String userId, SysUser sysUser);

    String CacheMethodTest1(String test1);
}
